/* 
 * File:        SpamEquationsApplication2.h
 * Author:      Cody TV Weber
 * Date:        March 26, 2014, 11:27 PM
 * Description: This file contains some key equations needed to determine 
 *              whether or not an email is spam or ham.
 */



#ifndef SPAMEQUATIONSAPPLICATION2_H
#define	SPAMEQUATIONSAPPLICATION2_H

/*
 * double extremeProbabilityValue(double probability) - 
 *          Takes a word's probability built from the SpamIndicator as a 
 *          parameter and indicates how extreme the probability is from the 
 *          center of the statistical bell curve.  The indicator uses .5 to 
 *          indicate value of the how extreme the word is.
 */
double extremeProbabilityValue(double probability);

/*
 * double spamFilterIndicatorValueEquation(int outliers[]) -
 *          Uses the 15 outlier words to create an indication value used to
 *          compare with the User's specified cutoff value for indicating if
 *          an email is ham or spam.
 */
double spamFilterIndicatorValueEquation(array<double>^ outliers, int numberOfOutliers);

#endif	/* SPAMEQUATIONSAPPLICATION2_H */

